package mark.tom.sail;

import androidx.annotation.NonNull;

interface Facade {

    void collect(@NonNull String tag, @NonNull AnalyticsRecord record) throws Exception;

    void report(@NonNull String... tags) throws Exception;

    class EmptyFacade implements Facade {

        @Override
        public void collect(@NonNull String tag, @NonNull AnalyticsRecord record) {
            // ignore
        }

        @Override
        public void report(@NonNull String... tags) {
            // ignore
        }
    }
}
